#include "BlockSwitch.h"

//
//Constructors
//
BlockSwitch::BlockSwitch(int cx, int cy, int cz, ObjectType object)
{
	x = cx; y = cy; z = cz;
	flrObj = object;
	type = BLOCKSWITCH;
	state = OPEN; 
}
BlockSwitch::BlockSwitch(int cx, int cy, int cz, int extraBit)
{
	x = cx; y = cy; z = cz;
	type = BLOCKSWITCH;
	state = BLOCKCREATED; 
}

BlockSwitch::BlockSwitch(int cx, int cy, int cz)
{

	x = cx; y = cy; z = cz;
	flrObj = NONE;
	type = BLOCKSWITCH;
	state = OPEN;
}

BlockSwitch::~BlockSwitch(void)
{}

void BlockSwitch::walkOnEvent()
{
	// WALK ON EVENT FOR THE FLOOR
	// WILL BE APPLICABLE FOR REACTIVE
	// FLOOR TYPES
}

void BlockSwitch::walkOffEvent()
{
	state = BLOCKCREATED;
}
